package com.ctshk.rpc.air.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 机票产品预订设置
 * </p>
 *
 * @author lihang
 * @since 2021-03-05
 */
@Data
@ApiModel(value="AirProductReservationSettingsDataReq对象", description="机票产品预订设置")
public class AirProductReservationSettingsDataReq  implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "预订信息主键id 修改时必传")
    private Long id;

    @ApiModelProperty(value = "开售类型（1：立即开售 2：定时开售）",required = true)
    private Integer saleType;

    @ApiModelProperty(value = "开售开始时间")
    private LocalDate saleBeginDate;

    @ApiModelProperty(value = "开售结束时间")
    private LocalDate saleEndDate;

    @ApiModelProperty(value = "是否二次确认",required = true)
    private Integer isConfirm;

    @ApiModelProperty(value = "取消策略(1 限时取消，2 不退不改)",required = true)
    private Integer cancelStrategy;

    @ApiModelProperty(value = "预订须知",required = true)
    private String bookingInformation;

    @ApiModelProperty(value = "行李规定")
    private String baggageStates;


    @ApiModelProperty(value = "服务费类型(1:数值 2：百分比)",required = true)
    private Integer serviceChargeType;

    @ApiModelProperty(value = "服务费(HKD)",required = true)
    private BigDecimal serviceChargePrice;

    @ApiModelProperty(value = "退改手续费类型",required = true)
    private Integer refundFeeType;

    @ApiModelProperty(value = "退改手续费(HKD)",required = true)
    private BigDecimal refundFeePrice;

    @ApiModelProperty(value = "是否需要证件（0：不需要 1：需要）")
    private Integer isNeedCertificates;

    @ApiModelProperty(value = "取票类型(1：电子票 2：纸质票)")
    private Integer ticketCollectionType;

    @ApiModelProperty(value = "取票类型对应方式(电邮/短信)")
    private String ticketCollection;

    @ApiModelProperty(value = "使用方式(1 兑换使用，2 直接使用)")
    private Integer exchangeMethod;



}
